<%--
    Document   : index
    Created on : Mar 10, 2014, 10:54:45 PM
    Author     : Anton Strack
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="csd" tagdir="/WEB-INF/tags" %>
<article id="${bean.id}">
    <div class="panel-heading"><h3 class="panel-title">${bean.name}</h3></div>
    <div class="panel-body">
        <p class="csd_description">
            ${bean.description}
        </p>
        <hr class="divider" />
        <p>
            ${bean.body}
        </p>
    </div>
    <div class="panel-footer">
        <%@include file="/category/_postCategories.jsp" %>
        <%@include file="/common/_postFooterPanelContent.jsp" %>
    </div>
    <c:if test="${bean.stateId != 8}">
        <div class="panel-group">
            <csd:listPostRelationship relatedPosts="${plotlocation}" postType='location' relationshipId="15" relationshipTitle="Plot Location" emptyMessage="There are no plot relationships for this location."></csd:listPostRelationship>
            </div>
    </c:if>
    <%@include file="/common/_postCommentContent.jsp" %>
</article>
